<template>
  <div>
    <Top :data="data"></Top>
    <Middle></Middle>
    <Footer></Footer>
  </div>
</template>

<script setup lang="ts">
import Top from './Top/index.vue'
import Middle from './Middle/index.vue'
import Footer from './Footer/index.vue'
import {reqChartsList} from '@/api/home/index'
import {ref, onMounted} from 'vue'
//挂载
onMounted(async ()=>{
  let result = await reqChartsList()
  data.value = result
})
let data = ref({})


</script>

<style scoped>

</style>